home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / tool / dolmorph / src / zdesktop.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-19  |  17.9 KB  |  746 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    idBackDialog ;
  9. extern int    MJ_BASEOBJ ;
  10. extern int    idDesktopSelectiveHyper ;
  11. extern int    idDesktopWinAttachHyper ;
  12. extern int    idDesktopToolAttachHyper ;
  13. extern int    idDesktopDialog ;
  14. extern int    idDesktopMenu ;
  15. extern int    idDesktopMItem_System ;
  16. extern int    idDesktopSystemMenu ;
  17. extern int    idDesktopSystemMenuItem[3] ;
  18. extern int    DesktopSystemAboutFunc() ;
  19. extern int    DesktopExitFunc() ;
  20. extern int    idDesktopMItem_file ;
  21. extern int    idDesktopFileMenu ;
  22. extern int    idDesktopFileMItem[8] ;
  23. extern int    idDesktopLoadImageMenu ;
  24. extern int    idDesktopLoadImageMItem[4] ;
  25. extern int    DesktopFileLoadImageFunc() ;
  26. extern int    idDesktopSaveImageMenu ;
  27. extern int    idDesktopSaveImageMItem[2] ;
  28. extern int    DesktopFileSaveImageFunc() ;
  29. extern int    DesktopLoadPointsFunc() ;
  30. extern int    DesktopSavePointsFunc() ;
  31. extern int    DesktopClearPointsFunc() ;
  32. extern int    DesktopMovSaveFunc() ;
  33. extern int    DesktopMovPlayFunc() ;
  34. extern int    idDesktopMItem_make ;
  35. extern int    idDesktopMakeMenu ;
  36. extern int    idDesktopMakeMItem[4] ;
  37. extern int    DesktopMakeMorphFunc() ;
  38. extern int    DesktopMakeTransformFunc() ;
  39. extern int    DesktopMoviePlayFunc() ;
  40. extern int    idDesktopExitIcon ;
  41. extern int    idDesktopClockMsg ;
  42. extern int    idDesktopAlertHyper ;
  43. extern int    idDesktopSkbIcon ;
  44. extern int    DesktopSkbFunc() ;
  45.  
  46. #define ALIGN    4
  47. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  48.  
  49. /*    MMI_init 用データ    */
  50.  
  51. /*    ヘッダ    */
  52.  
  53. MMIINIT    initDataZDESKTOP = { "MmiInit",  39, 0 } ;
  54.  
  55. /* idBackDialog */
  56.  
  57. static MMIPACKET d001 = {    &idBackDialog,
  58.                             &MJ_BASEOBJ,
  59.                             &MJ_DIALOGL40,
  60.                             OFFSET(DIALOGL40),
  61.                             MS_NONE
  62.                         } ;
  63. static DIALOGL40    d001d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
  64.                                0,   0, 639, 479, 9, 7, 0,
  65.                             MS_NONEL40,
  66.                             NULL,   0,   0
  67.                         } ;
  68.  
  69. /* idDesktopSelectiveHyper */
  70.  
  71. static MMIPACKET d002 = {    &idDesktopSelectiveHyper,
  72.                             &idBackDialog,
  73.                             &MJ_HYPER,
  74.                             OFFSET(HYPER),
  75.                             MS_NONE
  76.                         } ;
  77. static HYPER    d002d = {    MS_NONEL40,
  78.                                0,   0,   5,   5, 0, 0, 0,
  79.                             MS_NONEL40,
  80.                         } ;
  81.  
  82. /* idDesktopWinAttachHyper */
  83.  
  84. static MMIPACKET d003 = {    &idDesktopWinAttachHyper,
  85.                             &idDesktopSelectiveHyper,
  86.                             &MJ_HYPER,
  87.                             OFFSET(HYPER),
  88.                             MS_NONE
  89.                         } ;
  90. static HYPER    d003d = {    MS_NONEL40,
  91.                                0,   0,   5,   5, 0, 0, 0,
  92.                             MS_NONEL40,
  93.                         } ;
  94.  
  95. /* idDesktopToolAttachHyper */
  96.  
  97. static MMIPACKET d004 = {    &idDesktopToolAttachHyper,
  98.                             &idDesktopSelectiveHyper,
  99.                             &MJ_HYPER,
  100.                             OFFSET(HYPER),
  101.                             MS_NONE
  102.                         } ;
  103. static HYPER    d004d = {    MS_NONEL40,
  104.                                0,   0,   5,   5, 0, 0, 0,
  105.                             MS_NONEL40,
  106.                         } ;
  107.  
  108. /* idDesktopDialog */
  109.  
  110. static MMIPACKET d005 = {    &idDesktopDialog,
  111.                             &idDesktopSelectiveHyper,
  112.                             &MJ_DIALOGL40,
  113.                             OFFSET(DIALOGL40),
  114.                             MS_NONE
  115.                         } ;
  116. static DIALOGL40    d005d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
  117.                                0,   0, 639,  19, 0, 4, 0,
  118.                             MS_NONEL40,
  119.                             NULL,   0,   0
  120.                         } ;
  121.  
  122. /* idDesktopMenu */
  123.  
  124. static MMIPACKET d006 = {    &idDesktopMenu,
  125.                             &idDesktopDialog,
  126.                             &MJ_MENUL40,
  127.                             OFFSET(MENUL40),
  128.                             MS_NONE
  129.                         } ;
  130. static MENUL40    d006d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_HORIL40,
  131.                                0,   0, 389,  19, 0, 4, 0,
  132.                             MS_NONEL40,
  133.                             NULL,   0
  134.                         } ;
  135.  
  136. /* idDesktopMItem_System */
  137.  
  138. static MMIPACKET d007 = {    &idDesktopMItem_System,
  139.                             &idDesktopMenu,
  140.                             &MJ_MITEML40,
  141.                             OFFSET(MITEML40),
  142.                             MS_NONE
  143.                         } ;
  144. static MITEML40    d007d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  145.                                0,   0,  92,  19, 6, 6, 8,
  146.                             MS_PANELL40,
  147.                             0,
  148.                             0x0000, 517,
  149.                             "          ",
  150.                                1,  12,  12,
  151.                             MS_NONEL40,
  152.                                0,   0,
  153.                                0
  154.                         } ;
  155.  
  156. /* idDesktopSystemMenu */
  157.  
  158. static MMIPACKET d008 = {    &idDesktopSystemMenu,
  159.                             &idDesktopMItem_System,
  160.                             &MJ_MENUL40,
  161.                             OFFSET(MENUL40),
  162.                             MS_NONE
  163.                         } ;
  164. static MENUL40    d008d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
  165.                                0,  27, 132, 210,15, 6, 0,
  166.                             MS_UFRAMEL40 | MS_FRAMEL40,
  167.                             NULL,   0
  168.                         } ;
  169.  
  170. /* idDesktopSystemMenuItem[0] */
  171.  
  172. static MMIPACKET d009 = {    &idDesktopSystemMenuItem[0],
  173.                             &idDesktopSystemMenu,
  174.                             &MJ_MITEML40,
  175.                             OFFSET(MITEML40),
  176.                             MS_NONE
  177.                         } ;
  178. static MITEML40    d009d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  179.                                1,  28, 129,  43, 8, 6, 8,
  180.                             MS_NONEL40,
  181.                             DesktopSystemAboutFunc,
  182.                             0x0000,  -1,
  183.                             "DolphMorph について...",
  184.                                1,  12,  12,
  185.                             MS_NONEL40,
  186.                                0,   0,
  187.                                0
  188.                         } ;
  189.  
  190. /* idDesktopSystemMenuItem[1] */
  191.  
  192. static MMIPACKET d010 = {    &idDesktopSystemMenuItem[1],
  193.                             &idDesktopSystemMenu,
  194.                             &MJ_MITEML40,
  195.                             OFFSET(MITEML40),
  196.                             MS_NONE
  197.                         } ;
  198. static MITEML40    d010d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  199.                                4,  48, 115,  63, 8, 6, 8,
  200.                             MS_NONEL40,
  201.                             0,
  202.                             0x0000,  -1,
  203.                             NULL,
  204.                                1,  12,  12,
  205.                             MS_NONEL40,
  206.                                0,   0,
  207.                                0
  208.                         } ;
  209.  
  210. /* idDesktopSystemMenuItem[2] */
  211.  
  212. static MMIPACKET d011 = {    &idDesktopSystemMenuItem[2],
  213.                             &idDesktopSystemMenu,
  214.                             &MJ_MITEML40,
  215.                             OFFSET(MITEML40),
  216.                             MS_NONE
  217.                         } ;
  218. static MITEML40    d011d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  219.                                8,  79, 119,  94, 8, 6, 8,
  220.                             MS_NONEL40,
  221.                             DesktopExitFunc,
  222.                             0x0000,  -1,
  223.                             "終了",
  224.                                1,  12,  12,
  225.                             MS_NONEL40,
  226.                                0,   0,
  227.                                0
  228.                         } ;
  229.  
  230. /* idDesktopMItem_file */
  231.  
  232. static MMIPACKET d012 = {    &idDesktopMItem_file,
  233.                             &idDesktopMenu,
  234.                             &MJ_MITEML40,
  235.                             OFFSET(MITEML40),
  236.                             MS_NONE
  237.                         } ;
  238. static MITEML40    d012d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  239.                              105,   0, 183,  19,12, 6, 8,
  240.                             MS_PANELL40,
  241.                             0,
  242.                             0x0000,  -1,
  243.                             "ファイル",
  244.                                1,  12,  12,
  245.                             MS_NONEL40,
  246.                                0,   0,
  247.                                0
  248.                         } ;
  249.  
  250. /* idDesktopFileMenu */
  251.  
  252. static MMIPACKET d013 = {    &idDesktopFileMenu,
  253.                             &idDesktopMItem_file,
  254.                             &MJ_MENUL40,
  255.                             OFFSET(MENUL40),
  256.                             MS_NONE
  257.                         } ;
  258. static MENUL40    d013d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
  259.                              139,  26, 288, 199, 8, 6, 8,
  260.                             MS_UFRAMEL40 | MS_FRAMEL40,
  261.                             NULL,   0
  262.                         } ;
  263.  
  264. /* idDesktopFileMItem[0] */
  265.  
  266. static MMIPACKET d014 = {    &idDesktopFileMItem[0],
  267.                             &idDesktopFileMenu,
  268.                             &MJ_MITEML40,
  269.                             OFFSET(MITEML40),
  270.                             MS_NONE
  271.                         } ;
  272. static MITEML40    d014d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  273.                              140,  27, 286,  42, 8, 6, 8,
  274.                             MS_NONEL40,
  275.                             0,
  276.                             0x0000,  -1,
  277.                             "静止画(TIFF)読み込み",
  278.                                1,  12,  12,
  279.                             MS_NONEL40,
  280.                                0,   0,
  281.                                0
  282.                         } ;
  283.  
  284. /* idDesktopLoadImageMenu */
  285.  
  286. static MMIPACKET d015 = {    &idDesktopLoadImageMenu,
  287.                             &idDesktopFileMItem[0],
  288.                             &MJ_MENUL40,
  289.                             OFFSET(MENUL40),
  290.                             MS_NONE
  291.                         } ;
  292. static MENUL40    d015d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
  293.                              139, 212, 351, 279, 8, 6, 8,
  294.                             MS_UFRAMEL40 | MS_FRAMEL40,
  295.                             NULL,   0
  296.                         } ;
  297.  
  298. /* idDesktopLoadImageMItem[0] */
  299.  
  300. static MMIPACKET d016 = {    &idDesktopLoadImageMItem[0],
  301.                             &idDesktopLoadImageMenu,
  302.                             &MJ_MITEML40,
  303.                             OFFSET(MITEML40),
  304.                             MS_NONE
  305.                         } ;
  306. static MITEML40    d016d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  307.                              140, 213, 322, 228, 8, 6, 8,
  308.                             MS_NONEL40,
  309.                             DesktopFileLoadImageFunc,
  310.                             0x0000,  -1,
  311.                             "操作点設定ウィンドウ(A側)へ...",
  312.                                1,  12,  12,
  313.                             MS_NONEL40,
  314.                                0,   0,
  315.                                0
  316.                         } ;
  317.  
  318. /* idDesktopLoadImageMItem[1] */
  319.  
  320. static MMIPACKET d017 = {    &idDesktopLoadImageMItem[1],
  321.                             &idDesktopLoadImageMenu,
  322.                             &MJ_MITEML40,
  323.                             OFFSET(MITEML40),
  324.                             MS_NONE
  325.                         } ;
  326. static MITEML40    d017d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  327.                              140, 228, 322, 243, 8, 6, 8,
  328.                             MS_NONEL40,
  329.                             DesktopFileLoadImageFunc,
  330.                             0x0000,  -1,
  331.                             "操作点設定ウィンドウ(B側)へ...",
  332.                                1,  12,  12,
  333.                             MS_NONEL40,
  334.                                0,   0,
  335.                                0
  336.                         } ;
  337.  
  338. /* idDesktopLoadImageMItem[2] */
  339.  
  340. static MMIPACKET d018 = {    &idDesktopLoadImageMItem[2],
  341.                             &idDesktopLoadImageMenu,
  342.                             &MJ_MITEML40,
  343.                             OFFSET(MITEML40),
  344.                             MS_NONE
  345.                         } ;
  346. static MITEML40    d018d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  347.                              140, 244, 229, 259, 8, 6, 8,
  348.                             MS_NONEL40,
  349.                             DesktopFileLoadImageFunc,
  350.                             0x0000,  -1,
  351.                             "静止画倉庫へ...",
  352.                                1,  12,  12,
  353.                             MS_NONEL40,
  354.                                0,   0,
  355.                                0
  356.                         } ;
  357.  
  358. /* idDesktopLoadImageMItem[3] */
  359.  
  360. static MMIPACKET d019 = {    &idDesktopLoadImageMItem[3],
  361.                             &idDesktopLoadImageMenu,
  362.                             &MJ_MITEML40,
  363.                             OFFSET(MITEML40),
  364.                             MS_NONE
  365.                         } ;
  366. static MITEML40    d019d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  367.                              140, 259, 232, 274, 8, 6, 8,
  368.                             MS_NONEL40,
  369.                             DesktopFileLoadImageFunc,
  370.                             0x0000,  -1,
  371.                             "動画倉庫へ...",
  372.                                1,  12,  12,
  373.                             MS_NONEL40,
  374.                                0,   0,
  375.                                0
  376.                         } ;
  377.  
  378. /* idDesktopFileMItem[1] */
  379.  
  380. static MMIPACKET d020 = {    &idDesktopFileMItem[1],
  381.                             &idDesktopFileMenu,
  382.                             &MJ_MITEML40,
  383.                             OFFSET(MITEML40),
  384.                             MS_NONE
  385.                         } ;
  386. static MITEML40    d020d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  387.                              140,  44, 286,  59, 8, 6, 8,
  388.                             MS_NONEL40,
  389.                             0,
  390.                             0x0000,  -1,
  391.                             "静止画(TIFF)保存",
  392.                                1,  12,  12,
  393.                             MS_NONEL40,
  394.                                0,   0,
  395.                                0
  396.                         } ;
  397.  
  398. /* idDesktopSaveImageMenu */
  399.  
  400. static MMIPACKET d021 = {    &idDesktopSaveImageMenu,
  401.                             &idDesktopFileMItem[1],
  402.                             &MJ_MENUL40,
  403.                             OFFSET(MENUL40),
  404.                             MS_NONE
  405.                         } ;
  406. static MENUL40    d021d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
  407.                              139, 284, 352, 336, 8, 6, 8,
  408.                             MS_UFRAMEL40 | MS_FRAMEL40,
  409.                             NULL,   0
  410.                         } ;
  411.  
  412. /* idDesktopSaveImageMItem[0] */
  413.  
  414. static MMIPACKET d022 = {    &idDesktopSaveImageMItem[0],
  415.                             &idDesktopSaveImageMenu,
  416.                             &MJ_MITEML40,
  417.                             OFFSET(MITEML40),
  418.                             MS_NONE
  419.                         } ;
  420. static MITEML40    d022d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  421.                              140, 285, 281, 300, 8, 6, 8,
  422.                             MS_NONEL40,
  423.                             DesktopFileSaveImageFunc,
  424.                             0x0000,  -1,
  425.                             "マーク画像(1枚)を保存...",
  426.                                1,  12,  12,
  427.                             MS_NONEL40,
  428.                                0,   0,
  429.                                0
  430.                         } ;
  431.  
  432. /* idDesktopSaveImageMItem[1] */
  433.  
  434. static MMIPACKET d023 = {    &idDesktopSaveImageMItem[1],
  435.                             &idDesktopSaveImageMenu,
  436.                             &MJ_MITEML40,
  437.                             OFFSET(MITEML40),
  438.                             MS_NONE
  439.                         } ;
  440. static MITEML40    d023d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  441.                              143, 302, 312, 317, 8, 6, 8,
  442.                             MS_NONEL40,
  443.                             DesktopFileSaveImageFunc,
  444.                             0x0000,  -1,
  445.                             "動画倉庫(番号付けでTIFF化)...",
  446.                                1,  12,  12,
  447.                             MS_NONEL40,
  448.                                0,   0,
  449.                                0
  450.                         } ;
  451.  
  452. /* idDesktopFileMItem[2] */
  453.  
  454. static MMIPACKET d024 = {    &idDesktopFileMItem[2],
  455.                             &idDesktopFileMenu,
  456.                             &MJ_MITEML40,
  457.                             OFFSET(MITEML40),
  458.                             MS_NONE
  459.                         } ;
  460. static MITEML40    d024d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  461.                              140,  60, 254,  75, 8, 6, 8,
  462.                             MS_NONEL40,
  463.                             DesktopLoadPointsFunc,
  464.                             0x0000,  -1,
  465.                             "操作点読み込み...",
  466.                                1,  12,  12,
  467.                             MS_NONEL40,
  468.                                0,   0,
  469.                                0
  470.                         } ;
  471.  
  472. /* idDesktopFileMItem[3] */
  473.  
  474. static MMIPACKET d025 = {    &idDesktopFileMItem[3],
  475.                             &idDesktopFileMenu,
  476.                             &MJ_MITEML40,
  477.                             OFFSET(MITEML40),
  478.                             MS_NONE
  479.                         } ;
  480. static MITEML40    d025d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  481.                              140,  76, 236,  91, 8, 6, 8,
  482.                             MS_NONEL40,
  483.                             DesktopSavePointsFunc,
  484.                             0x0000,  -1,
  485.                             "操作点保存...",
  486.                                1,  12,  12,
  487.                             MS_NONEL40,
  488.                                0,   0,
  489.                                0
  490.                         } ;
  491.  
  492. /* idDesktopFileMItem[4] */
  493.  
  494. static MMIPACKET d026 = {    &idDesktopFileMItem[4],
  495.                             &idDesktopFileMenu,
  496.                             &MJ_MITEML40,
  497.                             OFFSET(MITEML40),
  498.                             MS_NONE
  499.                         } ;
  500. static MITEML40    d026d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  501.                              141,  94, 288, 109, 8, 6, 8,
  502.                             MS_NONEL40,
  503.                             DesktopClearPointsFunc,
  504.                             0x0000,  -1,
  505.                             "操作点クリア",
  506.                                1,  12,  12,
  507.                             MS_NONEL40,
  508.                                0,   0,
  509.                                0
  510.                         } ;
  511.  
  512. /* idDesktopFileMItem[5] */
  513.  
  514. static MMIPACKET d027 = {    &idDesktopFileMItem[5],
  515.                             &idDesktopFileMenu,
  516.                             &MJ_MITEML40,
  517.                             OFFSET(MITEML40),
  518.                             MS_NONE
  519.                         } ;
  520. static MITEML40    d027d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  521.                              140, 112, 287, 127, 8, 6, 8,
  522.                             MS_NONEL40,
  523.                             0,
  524.                             0x0000,  -1,
  525.                             NULL,
  526.                                1,  12,  12,
  527.                             MS_NONEL40,
  528.                                0,   0,
  529.                                0
  530.                         } ;
  531.  
  532. /* idDesktopFileMItem[6] */
  533.  
  534. static MMIPACKET d028 = {    &idDesktopFileMItem[6],
  535.                             &idDesktopFileMenu,
  536.                             &MJ_MITEML40,
  537.                             OFFSET(MITEML40),
  538.                             MS_NONE
  539.                         } ;
  540. static MITEML40    d028d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  541.                              139, 133, 286, 148, 8, 6, 8,
  542.                             MS_NONEL40,
  543.                             DesktopMovSaveFunc,
  544.                             0x0000,  -1,
  545.                             "動画(MOV)保存...",
  546.                                1,  12,  12,
  547.                             MS_NONEL40,
  548.                                0,   0,
  549.                                0
  550.                         } ;
  551.  
  552. /* idDesktopFileMItem[7] */
  553.  
  554. static MMIPACKET d029 = {    &idDesktopFileMItem[7],
  555.                             &idDesktopFileMenu,
  556.                             &MJ_MITEML40,
  557.                             OFFSET(MITEML40),
  558.                             MS_NONE
  559.                         } ;
  560. static MITEML40    d029d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  561.                              140, 150, 287, 165, 8, 6, 8,
  562.                             MS_NONEL40,
  563.                             DesktopMovPlayFunc,
  564.                             0x0000,  -1,
  565.                             "動画(MOV)再生...",
  566.                                1,  12,  12,
  567.                             MS_NONEL40,
  568.                                0,   0,
  569.                                0
  570.                         } ;
  571.  
  572. /* idDesktopMItem_make */
  573.  
  574. static MMIPACKET d030 = {    &idDesktopMItem_make,
  575.                             &idDesktopMenu,
  576.                             &MJ_MITEML40,
  577.                             OFFSET(MITEML40),
  578.                             MS_NONE
  579.                         } ;
  580. static MITEML40    d030d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  581.                              188,   0, 266,  19,12, 6, 8,
  582.                             MS_PANELL40,
  583.                             0,
  584.                             0x0000,  -1,
  585.                             "画像作成",
  586.                                1,  12,  12,
  587.                             MS_NONEL40,
  588.                                0,   0,
  589.                                0
  590.                         } ;
  591.  
  592. /* idDesktopMakeMenu */
  593.  
  594. static MMIPACKET d031 = {    &idDesktopMakeMenu,
  595.                             &idDesktopMItem_make,
  596.                             &MJ_MENUL40,
  597.                             OFFSET(MENUL40),
  598.                             MS_NONE
  599.                         } ;
  600. static MENUL40    d031d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
  601.                              293,  28, 450, 201, 0, 6, 0,
  602.                             MS_UFRAMEL40 | MS_FRAMEL40,
  603.                             NULL,   0
  604.                         } ;
  605.  
  606. /* idDesktopMakeMItem[0] */
  607.  
  608. static MMIPACKET d032 = {    &idDesktopMakeMItem[0],
  609.                             &idDesktopMakeMenu,
  610.                             &MJ_MITEML40,
  611.                             OFFSET(MITEML40),
  612.                             MS_NONE
  613.                         } ;
  614. static MITEML40    d032d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  615.                              303,  35, 401,  54, 8, 6, 8,
  616.                             MS_NONEL40,
  617.                             DesktopMakeMorphFunc,
  618.                             0x0000,  -1,
  619.                             "モーフィング...",
  620.                                1,  12,  12,
  621.                             MS_NONEL40,
  622.                                0,   0,
  623.                                0
  624.                         } ;
  625.  
  626. /* idDesktopMakeMItem[1] */
  627.  
  628. static MMIPACKET d033 = {    &idDesktopMakeMItem[1],
  629.                             &idDesktopMakeMenu,
  630.                             &MJ_MITEML40,
  631.                             OFFSET(MITEML40),
  632.                             MS_NONE
  633.                         } ;
  634. static MITEML40    d033d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  635.                              300,  58, 398,  77, 8, 6, 8,
  636.                             MS_NONEL40,
  637.                             DesktopMakeTransformFunc,
  638.                             0x0000,  -1,
  639.                             "変形アニメ...",
  640.                                1,  12,  12,
  641.                             MS_NONEL40,
  642.                                0,   0,
  643.                                0
  644.                         } ;
  645.  
  646. /* idDesktopMakeMItem[2] */
  647.  
  648. static MMIPACKET d034 = {    &idDesktopMakeMItem[2],
  649.                             &idDesktopMakeMenu,
  650.                             &MJ_MITEML40,
  651.                             OFFSET(MITEML40),
  652.                             MS_NONE
  653.                         } ;
  654. static MITEML40    d034d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  655.                              300,  82, 398, 101, 8, 6, 8,
  656.                             MS_NONEL40,
  657.                             0,
  658.                             0x0000,  -1,
  659.                             NULL,
  660.                                1,  12,  12,
  661.                             MS_NONEL40,
  662.                                0,   0,
  663.                                0
  664.                         } ;
  665.  
  666. /* idDesktopMakeMItem[3] */
  667.  
  668. static MMIPACKET d035 = {    &idDesktopMakeMItem[3],
  669.                             &idDesktopMakeMenu,
  670.                             &MJ_MITEML40,
  671.                             OFFSET(MITEML40),
  672.                             MS_NONE
  673.                         } ;
  674. static MITEML40    d035d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
  675.                              300, 108, 398, 127, 8, 6, 8,
  676.                             MS_NONEL40,
  677.                             DesktopMoviePlayFunc,
  678.                             0x0000,  -1,
  679.                             "動画倉庫を再生表示",
  680.                                1,  12,  12,
  681.                             MS_NONEL40,
  682.                                0,   0,
  683.                                0
  684.                         } ;
  685.  
  686. /* idDesktopExitIcon */
  687.  
  688. static MMIPACKET d036 = {    &idDesktopExitIcon,
  689.                             &idDesktopDialog,
  690.                             &MJ_ICONL40,
  691.                             OFFSET(ICONL40),
  692.                             MS_NONE
  693.                         } ;
  694. static ICONL40    d036d =     {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
  695.                              605,   0, 624,  19, 0, 6, 8,
  696.                             MS_PANELL40,
  697.                             DesktopExitFunc,
  698.                             0x0000, 290
  699.                         } ;
  700.  
  701. /* idDesktopClockMsg */
  702.  
  703. static MMIPACKET d037 = {    &idDesktopClockMsg,
  704.                             &idDesktopDialog,
  705.                             &MJ_MSGL40,
  706.                             OFFSET(MSGL40),
  707.                             MS_NONE
  708.                         } ;
  709. static MSGL40    d037d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  710.                              420,   0, 554,  19, 8, 4,15,
  711.                             MS_OPAQUEL40,
  712.                             "1994.07.27",
  713.                                1,  12,  12,
  714.                             MS_NONEL40,
  715.                                0,   0
  716.                         } ;
  717.  
  718. /* idDesktopAlertHyper */
  719.  
  720. static MMIPACKET d038 = {    &idDesktopAlertHyper,
  721.                             &idBackDialog,
  722.                             &MJ_HYPER,
  723.                             OFFSET(HYPER),
  724.                             MS_NONE
  725.                         } ;
  726. static HYPER    d038d = {    MS_NONEL40,
  727.                                0,   0,   5,   5, 0, 0, 0,
  728.                             MS_NONEL40,
  729.                         } ;
  730.  
  731. /* idDesktopSkbIcon */
  732.  
  733. static MMIPACKET d039 = {    &idDesktopSkbIcon,
  734.                             &idDesktopAlertHyper,
  735.                             &MJ_ICONL40,
  736.                             0,
  737.                             MS_NONE
  738.                         } ;
  739. static ICONL40    d039d =     {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
  740.                              573,   0, 592,  19, 8, 6, 8,
  741.                             MS_PANELL40,
  742.                             DesktopSkbFunc,
  743.                             0x0000, 292
  744.                         } ;
  745.  
  746.